Solve a wrong reference on gdk_keymap_translate_keyboard_state
authorAlejandro Piñeiro <apinheiro@igalia.com>
Tue, 9 Feb 2010 10:52:49 +0000 (11:52 +0100)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Sun, 4 Apr 2010 00:56:08 +0000 (20:56 -0400)
Solves https://bugzilla.gnome.org/show_bug.cgi?id=608345

docs/reference/gdk/tmpl/keys.sgml
gdk/x11/gdkkeys-x11.c

index b77e08891af5bd9f87531dea5737978eb77197fe..9c67e094cc8d55bd696420e01d44c893afc2b708 100644 (file)
@@ -34,7 +34,7 @@ When it makes sense, key values can be converted to and from
 Unicode characters with gdk_keyval_to_unicode() and gdk_unicode_to_keyval().
 </para>
 
-<para>
+<para id="key-group-explanation">
 One #GdkKeymap object exists for each user display. gdk_keymap_get_default() 
 returns the #GdkKeymap for the default display; to obtain keymaps for other 
 displays, use gdk_keymap_get_for_display(). A keymap
index 1426fdcb9c2e018a06bde99ce28cc6eb20b4c6f8..f7d7a9099d6e9e1b630dab36339797be3fc9b695 100644 (file)
@@ -1422,7 +1422,7 @@ translate_keysym (GdkKeymapX11   *keymap_x11,
  * Translates the contents of a #GdkEventKey into a keyval, effective
  * group, and level. Modifiers that affected the translation and
  * are thus unavailable for application use are returned in
- * @consumed_modifiers.  See gdk_keyval_get_keys() for an explanation of
+ * @consumed_modifiers.  See <xref linkend="key-group-explanation"/> for an explanation of
  * groups and levels.  The @effective_group is the group that was
  * actually used for the translation; some keys such as Enter are not
  * affected by the active keyboard group. The @level is derived from